﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IChessEngine;

namespace ChessEngine.Basic
{
    public class ChsBoard : IChsBoard
    {
        public bool IsInside(IChsSquare target)
        {
            return (target.X <= 7) && (target.X >= 0) &&
                   (target.Y <= 7) && (target.Y >= 0);
        }
        public int Height
        {
            get { return 8; }
        }
        public int Width
        {
            get { return 8; }
        }
    }
}
